package com.krt.webapp.until;

import android.util.Base64;

public class MyBase64 {
	
	//����
	public static String Encrypt(String msg){
		return Base64.encodeToString(msg.getBytes(), Base64.DEFAULT).replace("\n", "");
	}
	
	//����
	public static String Decrypt(String msg){
		return new String(Base64.decode(msg.replace("\n", ""), Base64.DEFAULT));
	}

}
